﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="RicciWebsite.admin.login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        body
        {
            margin-left: 0px;
            margin-top: 0px;
            margin-right: 0px;
            margin-bottom: 0px;
            overflow: hidden;
        }
        .STYLE3
        {
            color: #528311;
            font-size: 12px;
        }
        .STYLE4
        {
            color: #42870a;
            font-size: 12px;
        }
        .STYLE5
        {
            color: #528311;
            font-size: 18px;
            font-weight: bolder;
        }
    </style>

    <%--<script type="text/javascript" language="javascript">
        if (top.location != self.location) {
            top.location = self.location;
        }
    </script>
--%>
</head>
<body>
    <form id="form1" runat="server">
    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td bgcolor="#e5f6cf">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td height="608" background="../images/login_03.gif">
                <table width="862" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                        <td height="266" background="../images/login_04.gif" valign="baseline">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="32%" height="200">
                                        &nbsp;
                                    </td>
                                    <td width="68%">
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td width="32%">
                                        &nbsp;
                                    </td>
                                    <td width="68%">
                                        <span class="STYLE5">网站后台管理</span>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td height="331">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="424" height="95" background="../images/login_06.gif">
                                        &nbsp;
                                    </td>
                                    <td width="183" background="../images/login_07.gif">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td width="21%" height="30">
                                                    <div align="center">
                                                        <span class="STYLE3">用户</span></div>
                                                </td>
                                                <td width="79%" height="30">
                                                    <asp:TextBox ID="txtusername" runat="server" Width="120px"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfv1" runat="server" ErrorMessage="*" ControlToValidate="txtusername"
                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="30">
                                                    <div align="center">
                                                        <span class="STYLE3">密码</span></div>
                                                </td>
                                                <td height="30">
                                                    <asp:TextBox ID="txtpasswd" TextMode="Password" runat="server" Width="120px"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfv2" runat="server" ErrorMessage="*" ControlToValidate="txtpasswd"
                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="30">
                                                    <div align="center">
                                                        <span class="STYLE3">验证码</span></div>
                                                </td>
                                                <td height="30">
                                                    <asp:TextBox ID="txtvcode" runat="server" Width="40px"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfv3" runat="server" ErrorMessage="*" ControlToValidate="txtvcode"
                                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                                    <img id="vcodeImg" src='<% =ResolveClientUrl("~/verifycode.ashx") %>' style="cursor: pointer"
                                                        alt="验证码" title="看不清楚?换一张" onclick="this.src=('<% =ResolveClientUrl("~/verifycode.ashx") %>?'+Math.random())" />
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                    <td width="255" background="../images/login_08.gif">
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td height="246" valign="top" background="../images/login_09.gif" colspan="3">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td width="22%" height="30">
                                                    &nbsp;
                                                </td>
                                                <td width="56%">
                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                        <tr>
                                                            <td width="56%" height="20">
                                                                &nbsp;
                                                            </td>
                                                            <td width="44%" class="STYLE4">
                                                                <asp:Button ID="btnlogin" runat="server" Text="登录" OnClick="btnlogin_Click" />
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                                <td width="22%">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td height="30">
                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                        <tr>
                                                            <td width="44%" height="20">
                                                                &nbsp;
                                                            </td>
                                                            <td width="56%" class="STYLE4">
                                                                copyright steven hu
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td bgcolor="#a2d962">
                &nbsp;
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
